First-principles investigations of the structure and stability of oxygen adsorption and surface oxide formation at Au(111)