Trade, Technology, and the Great Divergence