Time-dependent analysis of the Hartley absorption band and resonance Raman spectra in ozone