Dynamics of molecular communication in bacteria within microfluidic environments