The chemistry of mercapto- and thione- substituted 1,2,4-triazoles and their utility in heterocyclic synthesis