A bedside test for cerebral autoregulation using transcranial Doppler ultrasound