Comparison of C-O-H bonds in methanol and water