Magnetism of the moon and meteorites