Stochastic heterostructures and diodium in B/N-doped carbon nanotubes.