Solution-chemistry control of Mg2+-calcite interaction mechanisms: Implication for biomineralization