Character changes of pion and σ-meson at finite temperatures