Three Essays on the Impact of Foreign Direct Investment on Productivity