Evolution of Thermal Structure and Radiation Spectrum of Cooling Neutron Stars