During which phase change does water release the most heat energy?