On automatic methods of sleep staging by spectra of electroencephalograms.