How rising energy prices affect foreign direct investment in Europe