Encapsulation of lanthanum carbide in carbon nanotubes and carbon nanoparticles