A study of amorphization and microstructural evolution of graphite under electron or ion irradiation