Time-varying effects of cyclical fluctuations in China's energy industry on the macro economy and carbon emissions