Capillary or surface tension valves