Three Essays on the Economics of Transitioning to Clean Energy