The number of people fleeing the civil war in Syria has now passed four million, according to the UN refugee agency.