Potential-energy functions of diatomic molecules of the noble gases