Local and nonlocal density functional calculations of the molecular structure of isomeric thiadiazoles