Reactivity of Mannich bases. Part X. The mechanism of the reaction between β-amino-ketones and thiophenols