Application of density functional theory concepts to the study of the chemical reactivity of thiadiazoles