Celebrations have broken out across Syria following the appointment of Ahmed al-Sharaa as the country's transitional president.