Use of ultrasound in water treatment