Isotope effects on the stability of the carbon monoxide-acetylene van der Waals molecule and the hydrogen fluoride dimer