Transformation of aragonite-dominated lime muds to microcrystalline limestones