A combined haemodynamic and biochemical model of cerebral autoregulation