Phase changes and heating curves