Bioinspired fabrication of 3D ordered macroporous single crystals of calcite from a transient amorphous phase.