Ab initio effective core potentials including relativistic effects. IV. Potential energy curves for the ground and several excited states of Au2