Intra- and intermolecular proton transfer in 1H(2H)-1,2,3-triazole based systems.