Electron or ion irradiation-induced phase-change mechanism between amorphous and crystalline state