Hydration effects on the vibrational properties of carboxylates: From continuum models to QM/MM simulations