Phase transitions in the system CaCO3 at high P and T determined by in situ vibrational spectroscopy in diamond anvil cells and first-principles simulations