Membrane processes in preparation of purified water from municipal water