Ab initio calculations including relativistic effects for Ag2, Au2, AgAu, AgH, and AuH