Phylogenetic background and habitat drive the genetic diversification of Escherichia coli