A simple approach to compute integrals in collocation and Galerkin BEMs for 2D problems