Substituent effects on the thioamide group in thiobenzanilides: simultaneous conformational and acid–base equilibria