Dependence of geomagnetic activity during magnetic storms on the solar wind parameters for different types of streams