Automated EEG-based sleep monitoring in critically ill children