Fourier spectroscopy of nonequilibrium states, application to CIDNP, overhauser experiments and relaxation time measurements