Spatiotemporal dynamics of synthetic microbial consortia in microfluidic devices