Essays on Industrial Organization, Energy, and the Environment