Temperature- and pressure-induced lattice distortion in CdCr2-xGaxSe4 (x = 0, 0.06, and 0.12)