Flare-generated shock evolution and geomagnetic storms during the ''Halloween 2003 epoch'': 29 October to 2 November