Thermal stability of functionalized carbon nanotubes studied by in-situ transmission electron microscopy.