Green technology is changing the calculus of investing.