Which change takes place at the freezing point of a substance?