Optimization of extraction of total trans-resveratrol from peanut seeds and its determination by HPLC.