X-ray diffraction analysis of diffusional alloying of HfC and TaC