The U.N. human rights chief has warned that Donald Trump as president would be “dangerous."