A transferable valence force field for polyatomic molecules. A scheme for glycolic acid and methyl glycolate