The Baath party has been dissolved and Ahmed al-Sharaa has been named president for a transitional period in Syria.