Geometrical consequences of intermolecular hydrogen bond formation in the formic acid and acetic acid dimers from ab initio MO calculations