Resonant inner-shell photoelectron spectra of ground-state and laser-excited Cr atoms