Essays on Natural Gas and Electricity Markets