Application of self-consistent-field ab initio calculations to organic molecules: III. Equilibrium structure of water, methanol and dimethyl ether, general valence force field of water and methanol scaled on experimental frequencies