A multifunctional in situ–forming hydrogel for wound healing