Reaction detector for liquid chromatography with electrochemical generation and detection of excess bromine