Innovation, Diffusion, and Regulation in Energy Technologies