A complexometric titration method for determining calcium in the presence of magnesium