The United Nations and aid agencies operating in Syria say thousands of people are fleeing the fighting as Turkey's military campaign continues.