Stochastic model of strong hydrogen bonds and the temperature effect on IR spectra