Visualising discrete structural transformations in germanium nanowires during ion beam irradiation and subsequent annealing.