Hydrogen-bonded and van der Waals complexes studied by a gaussiann density functional method. The case of (HF)2, ArHCl and Ar2HCl systems