which phase change(s) involved the released of energy?​