Vacuum ultraviolet photoabsorption spectroscopy of space-related ices: 1 keV electron irradiation of nitrogen- and oxygen-rich ices