Turkey’s refugee commitment ‘a lesson’ for Europe