Heart rate variability analysis and weaning from mechanical ventilation: lessons from exercise physiology