Spectral characteristics and electrical parameters of the positive column of a glow discharge in He + F2 and Kr + F2 mixtures