Why do the magnetic poles of cans reverse when turned upside down?