Electron microscopy studies on functional carbon nanotubes