In situ electrical measurements and manipulation of B/N-doped C nanotubes in a high-resolution transmission electron microscope.