Hydrogels as potential drug delivery systems