The use of automated pupillometry to assess cerebral autoregulation: a retrospective study