On the Calculation of Vibrational Frequencies for Molecules in Solution Beyond the Harmonic Approximation