Drug releasing hydrogels for opioid use disorder