Despite backing opposite sides in the conflict, Turkey and Russia have worked increasingly closely on Syria, brokering a deal this month to allow the evacuation of tens of thousands of civilians and rebel fighters from Aleppo.