Characterization of the crystallization dynamics of phase change materials via electron diffraction