Boundary integral methods for wedge diffraction problems. The angle 2pi/n, Dirichlet and Neumann conditions