Reaching agreement in divisive political landscape shows ‘climate cooperation is alive and kicking’, says UN climate chief