Transformation from tetrahedral to planar symmetry in Cs2CuCl4 and Cs2CuBr4 at high pressure