Treatment of industrial or potable water