Electronic absorption spectra of 3-chloro- and 3-amino-1,2,4-triazole derivatives