calcium carbonate and magnesium carbonate formula