Adsorption-driven tuning of the electrical resistance of nanoporous gold