Reversals of the Earth's magnetic field and climatic changes