what factors led to the rise of labor unions?