Lewis electronic structures as the large-dimension limit for H2+ and H2 molecules