Foreign Direct Investment and Externalities