The reaction of thiols on a model gold catalyst leads to the formation of thiolates capable of self-coupling and of displacing carboxylic acids