Ultraviolet absorption spectra of shock-heated carbon dioxide and water between 900 and 3050 K