Quality control for flow cytometry