Effect of inorganic anions on the morphology and structure of magnesium calcite