how to measure corrosion potential