The Determinants and Consequences of Foreign Direct Investment