Convergence analysis of the scaled boundary finite element method for the Laplace equation