The cost of combatting greenhouse warming