Potentiometric titration of chlorine and its oxy compounds in water