An analytical model of the hydraulic aspects of stomatal dynamics