Thousands of Syrians have gathered at a square in the capital Damascus to celebrate after the first Friday prayers following Bashar al-Assad's ouster.