The Effect of Electron Beam on Phase Formation in Nanomaterials