Energy and economic development: underlying macroeconomic and institutional factors