The UN secretary general has restated the importance of the Paris Agreement in a speech.