Cell type purification by single-cell transcriptome-trained sorting