Theoretical investigation of the spectral properties of gas lasers