Deep learning for next-generation sleep diagnostics