Experimental and theoretical studies of a triazole ligand and complexes formed with the lanthanides