A sandcastle worm-inspired strategy to functionalize wet hydrogels