Magnetism of the earth and climatic changes