Irradiation induced reactions in carbon nanomaterials in transmission electron microscopy