The a posteriori Fourier method for solving the Cauchy problem for the Laplace equation with nonhomogeneous Neumann data