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