Cooperative Reorganization of Mineral and Template during Directed Nucleation of Calcium Carbonate