Microfluidics and single-cell microscopy to study stochastic processes in bacteria