Detection of electroencephalogram features of sleep stage 2 by a new scoring system