Fabrication of Functional Polymers with Gradual Release of a Bioactive Precursor for Agricultural Applications