Towards spintronics: superparamagnetism of nanoparticles in carbon nanotubes