X-ray double-crystal diffraction studies of CdTe/GaAs heteroepitaxial layers