Luminescence reveals variations in local structural order of calcium carbonate polymorphs formed by different mechanisms