Optimal processing conditions of a bio-based epoxy synthesized from vanillyl alcohol