working conditions railroad workers 1800s