Solar wind-magnetosphere interaction observed in the geomagnetic field variations in the polar regions