Theories of determinants of foreign direct investment