Temperature dependence of the lattice parameters and the thermal expansion of CdCr2X4 (X ≡ S, Se)