Ab initio study of He2H+ and Ne2H+: Accurate structure and energetics