Reverse osmosis membranes for treatment of produced water: a process analysis