Atmospheric CO2 concentration and millennial-scale climate change during the last glacial period