Neural network analysis of sleep stages enables efficient diagnosis of narcolepsy