Chemical valves and gel actuators