President-elect Donald Trump has announced his selection of former campaign rival Rick Perry to be the country's next secretary of energy.