Synthesis and biological activities of triazole derivatives as inhibitors of InhA and antituberculosis agents.