Influence of oxygen on the spectral intensity distribution in the I and II positive band systems of nitrogen