Chemical actuation in responsive hydrogels