Synthesis and characterization of hydrogels polymers and their applications in controlled drug release formulations