Madagascar's president sacks prime minister, entire cabinet