Vibrational and electronic spectra of alkali halides doped with CrO42− ions