How did the Irish potato famine of the 1840s and mass emigrations affect the social conditions in eastern U.S. cities?