Cerebral critical closing pressure and resistance-area product: the influence of dynamic cerebral autoregulation, age and sex