Characterization and thermodynamic interpretation of ancient gold refining processes based on a Dioscorides recipe