Interplanetary shocks and sudden impulses during solar maximum (2000) and solar minimum (1995–1996)