Theory of Pressure Effects of Foreign Gases on Spectral Lines