Vladimir Putin and Bashar al-Assad met in Russia before two rival meetings, one in Sochi and the other Riyadh, to discuss the future of Syria.