Postprocessing Fourier spectral methods: the case of smooth solutions