How does a flow cytometer work?