Chad appoints former opposition politician as prime minister