Quantifying and Engineering Bacterial Population Dynamics in Time and Space