Spectra of water in the near- and mid-infrared region