Heart rate variability: a diagnostic and prognostic tool in anesthesia and intensive care