The relevance of economic complexity and economic globalization as determinants of energy demand for different stages of development