Antimicrobial and antioxidant properties of chitosan enzymatically functionalized with flavonoids