Plasma radiation emitted by dense mixtures of rare gases excited by an electron beam and by a discharge