Donald Trump has named an oil and gas industry executive and vocal opponent of efforts to fight climate change to head the US Energy Department.