Phase discrepancy analysis and compensation for fast Fourier transform based solution of the transport of intensity equation.