The role of physical interactions in shaping the genetic diversity of spatially expanding phage and bacterial populations