Madagascar leader names army officer as prime minister