Separation of solar and interplanetary diffusion in solar cosmic ray events