Visible spectra of XeO and KrO