Antifungal and antimycobacterial activity of new imidazole and triazole derivatives. A combined experimental and computational approach