Senate narrowly confirms climate-denying nominee to federal energy regulator