The energy consumption-environmental quality nexus in BRICS countries: the role of outward foreign direct investment