Quantum mechanical calculation of the OH vibrational frequency in crystalline solids