why were railroads important to the industrial revolution