Essays in energy and environmental markets