The effects of chemical interactions and culture history on the colonization of structured habitats by competing bacterial populations