Spin-dependent transport in multiwalled carbon nanotubes