Photoperiod and water-deficient conditions differentially regulate structural flavonoid biosynthetic genes in peanuts