Phase equilibrium phenomena in solutions involving tannins, flavonoids and ionic liquids