Green synthesis, photocatalytic and photoelectrochemical performance of an Au–Graphene nanocomposite