Interaction potential for symmetric top-diatom or atom pairs