An intermolecular potential for use in liquids