Automatic detection of cyclic alternating pattern (CAP) sequences in sleep: preliminary results.