The effects of carbon reduction on sectoral competitiveness in China: a case of Shanghai