Associations between inverted repeats and the structural evolution of bacterial genomes.