Preparation and characterization of bio-based terpolymer derived from vanillin oxime, formaldehyde, and p-hydroxyacetophenone