disadvantages of factories in the industrial revolution