Carbon nanotube intramolecular junctions