Nature of the phase transitions in [(C2H5)4N]2MCl4 complexes (M = cobalt, copper)