Sensitivity of single-wall carbon nanotubes to chemical processing: an electron microscopy investigation