Changes in tannins in ripening fruits