Numerical solution of water‐wave refraction and diffraction problems in the parabolic approximation