Polyfunctional compounds from cardanol