The influence of economic growth, population, and fossil fuel scarcity on energy investments