Calcium carbonate nucleation driven by ion binding in a biomimetic matrix revealed by in situ electron microscopy.