Biogenic synthesis of a Ag–graphene nanocomposite with efficient photocatalytic degradation, electrical conductivity and photoelectrochemical performance