Foreign direct investment, aid, and terrorism