Structural constraints on the crystallisation of amorphous calcium carbonate