Structural change and foreign direct investment: globalization and regional economic integration