Early and late phases of the Permian–Triassic mass extinction marked by different atmospheric CO2 regimes