Three Essays on International Trade and Productivity