Global deal reached to limit powerful greenhouse gases