Technology and Geography in the Second Industrial Revolution: New Evidence from the Margins of Trade