UN chief warns new US leader Donald Trump any move to pull out of historic climate deal would be unacceptable.