Solar filament eruptions and energetic particle events