Coupling of acid-base and redox functions in mixed sulfide monolayers on gold