Annealing and dissociation of carbon rings