Investigating the role of globalization, and energy consumption for environmental externalities: Empirical evidence from developed and developing economies · Study