4-amino-1,2,4-triazole-3-thione as a promising scaffold for the inhibition of serine and metallo-β-lactamases