An automated system for the measurement of hydrogen peroxide in industrial applications