Geomagnetic response to magnetic clouds of different polarity