Effects of magnesium and temperature control on aragonite crystal aggregation and morphology