Valves for autonomous capillary systems