Method development for selective quantification of free chlorine and free bromine in water samples