Understanding the influence of low-frequency vibrations on the hydrogen bonds of acetic acid and acetamide dimers.