A simple and robust event-detection algorithm for single-cell impedance cytometry