Effect of anions in Au complexes on doping and degradation of graphene