Comparison of nonhomogeneous and homogeneous mass transfer in reverse osmosis membrane processes