The Heterogeneous Effects of FDI and Foreign Trade on CO2 Emissions: Evidence from China