Geometries, stabilities, and electronic properties of gold