Advanced 1D heterostructures based on nanotube templates and molecules.