Tannic acid-crosslinked O-carboxymethyl chitosan hydrogels for enhanced antibacterial activity and rapid hemostasis