COronal Mass Ejections and Solar Energetic Particles