Mathematical model of the interaction between baroreflex and cerebral autoregulation