How did the presence of a growing middle class during the Industrial Revolution impact social dynamics and gender roles within households?