Potential energy curves for the Rydberg states of LiHe and the spectrum of Li atoms interacting with He gas