Second-order susceptibility determination by Fourier analysis