Niger's top court confirms Bazoum as next president