Interpretation of the vibrational spectrum of acetic acid and its ion