Deprotometalation-iodolysis and computed CH acidity of 1,2,3- and 1,2,4-triazoles. Application to the synthesis of resveratrol analogues.