Function of flavonoids on different types of programmed cell death and its mechanism: a review