Electron diffusion in single-walled carbon nanotubes