People displaced by wars in Syria, Iraq, and Afghanistan are fleeing to Europe, where they are getting a mixed welcome.