Interplanetary transport of solar electrons and protons: Effect of dissipative processes in the magnetic field power spectrum