Tuning hydrogel properties and function using substituent effects.