Development and optimization of a method for determining betaine and trigonelline in the fruits of Lycium species by using solid-phase extraction combined with HPLC-diode array detector.