An improved integral equation for the numerical solution of two-dimensional diffraction problems