Electrical and photoelectric characteristics of structures based on InSe and GaSe layered semiconductors irradiated with 12.5-MeV electrons