When a substance undergoes a phase change from liquid to solid, which of the following will occur?