the working condition in the mines during the industrial revolution