Membrane leakage of solutes after thermal shock or freezing