Millennial and sub-millennial scale climatic variations recorded in polar ice cores over the last glacial period