Meson spectral functions at finite temperature