Sleep heart rate variability assists the automatic prediction of long-term cardiovascular outcomes.