The coordination of Mg in foraminiferal calcite