How do energy consumption, globalization, and income inequality affect environmental quality across growth regimes?