Functional Nanoparticles Encapsulated in Resveratrol-Formaldehyde Resin for Cancer Therapy