Application of ionic liquids in the microwave-assisted extraction of trans-resveratrol from Rhizma Polygoni Cuspidati.