Importance of Compton scattering for radiation spectra of isolated neutron stars