Change in the Properties of AlGaN/InGaN/GaN Structures during the Operation of Electron-Beam-Pumped and Optically Pumped Pulse-Periodic Lasers Based on Them