Vibrational spectroscopy of the hydrogen bond: An ab initio quantum-chemical perspective