About 30 Boko Haram militants have been killed during military air raids on their training camps in north-eastern Nigeria.