What were some of the harsh working and living conditions that working-class people experienced during the Industrial Revolution?