The marginal cost of CO2 emissions