An a priori error analysis of the Local Discontinuous Galerkin method for elliptic problems