The Determinants and Macroeconomic Impacts of Foreign Direct Investment in Transition Economies