What economic factors contributed to European immigration to the United States during the late 19th and early 20th centuries?