Comparative analysis of parameters of deep levels in the ion implanted layers and fast electron-irradiated structures