Identification of surface chemical functional groups correlated to failure of reverse osmosis polymeric membranes