How did the labor movement impact workers' rights and working conditions throughout history?