Madagascar's former opposition leader sworn in as president