An effective model of cerebrovascular pressure reactivity and blood flow autoregulation.