On the theory of diatomic interactions. A new three-parameter diatomic potential energy function