Potentiometric detection of halides and pseudohalides in anion chromatography