The involvement of Russia and Turkey on opposite sides of the Libyan conflict has echoes of the war in Syria, where they have also backed warring parties