Text this: Foreign direct investment can enhance the development of clean energy in countries with critical materials