Carbon nanotube nanoelectronic devices compatible with transmission electron microscopy