The UK foreign secretary has given his reaction to the news the next US president will be Republican Donald Trump.