why did immigrants have such a difficult time in American cities