Azole chemistry. VIII. Ring-chain tautomerism of some 2-mercaptoperimidine derivatives