Green extraction from pomegranate marcs for the production of functional foods and cosmetics