'We are the danger, but we are also the solution' for climate: UN chief