Geomagnetic activity associated with earth passage of interplanetary shock disturbances and coronal mass ejections