Principle, calibration, and application of the in situ alkali chloride monitor.