Amorphous-to-crystal transition in the layer-by-layer growth of bivalve shell prisms.