Infrared spectra of liquid H2O and D2O