A time correlation function theory of two-dimensional infrared spectroscopy with applications to liquid water.