Evolutionary Competition In Microbial Communities: From Population Dynamics To Single-Cell Behavior