Magnetic property of FePt nanoparticles encaged in carbon nanotubes