Comparison of cardiorespiratory and EEG abnormalities with seizures in adults and children