Optimization of extraction of drugs containing polyphenols using an innovative technique