Summarizing what caused european and chinese immigrants to migrate to the united states in the late nineteenth century?