Two approaches for the engineering of homogeneous small-molecule hydrogels