Nearly 200 nations agree binding deal to cut greenhouse gases