Iron fouling prevention and membrane cleaning during reverse osmosis process