Coevolution of Mars’s atmosphere and massive south polar CO2 ice deposit