Fighting global warming is starting to sound like a lucrative investment.