X-ray emission spectra of VCx, NbCx, TaCx, and ZrC