Railroads, specialization, and population growth : evidence from the first globalization