Foreign direct investment, natural resources and institutions (Working Paper)