Applications of selective quantification of bromine and chlorine in water using the halogen trap 1,3,5-trimethoxybenzene