Optimization Research on Carbon Emissions and Energy Structure of Responding to Climate Change