Interplanetary shocks preceded by solar filament eruptions