Influence of solar wind variability on geomagnetic activity