On-chip magnetic separation and encapsulation of cells in droplets.