Purification and structural annealing of multiwalled carbon nanotubes at graphitization temperatures