Nigerian court convicts 20 Boko Haram militants