Ultrasound-assisted extraction of a condensed tannin and its application for removal dyes from water