Critical behavior of heat capacity in the vicinity of phase transitions in [NH2(CH3)2]5Cd3Cl11