The sinc-Galerkin method and its applications on singular Dirichlet-type boundary value problems