Scalar coupling across the hydrogen bond in 1,3- and 1,4-diols.