Use of 1s Gaussian Wavefunctions for Molecular Calculations. I. The Hydrogen Atom and the Hydrogen Molecule Ion