Fluid transport in branched structures with temporary closures: a model for quasistatic lung inflation.