Study of the precipitation equilibria of arsenate anion with calcium and magnesium in sodium perchlorate at 25 °C