X-ray diffraction, differential scanning calorimetric and spectroscopic studies of phase transitions in the bidimensional compound (C12H25NH3)2CdCl4