Square integrable surface potentials on non-smooth domains and application to the Laplace equation in L2