Spin-polarized transport in carbon nanotubes