Study of the vacuum purity influence on oxygen and nitrogen spectra properties in DC glow discharge