Which demographic shift occurred in the united states in the late nineteenth century as a result of industrialization?.