An element-free Galerkin method for crack propagation in brittle materials