Deep learning for automated sleep monitoring