Spectrophotometric titration of calcium and magnesium with complexon-III and metal-specific indicators