A theoretical study of the relative stability of prototropic and acylotropic tautomers