Tuning a quantum-confined silver monolayer beneath epitaxial graphene via surface charge-transfer doping