foods that change state when heated or cooled