Microfluidic techniques for dynamic single-cell analysis