Synthesis of calcium carbonate in trace water environments