how does the outer core influence the earth magnetic field?​