CHARACTERIZATION OF POTENTIAL-ENERGY CURVES FOR H-2+ AND H-2 BY LOCAL VALUES OF ELECTRON-DENSITY