Influence of electron beam exposure on crystallization of phase-change materials