Pulsed field gradients in simulations of one- and two-dimensional NMR spectra.