X-ray diffraction study of a sequence of phase transitions in Cs2HgCl4 crystals