Militants sentenced in Bangladesh