Which phase change results in the release of energy