Structural, magnetic and superconducting properties of graphite nanotubes and their encapsulation compounds