Developing microfluidics and microscopy approaches to investigate bacterial populations with single-cell resolution