An automated processing system for all-night eeg sleep studies