Rearrangement analysis of multiple bacterial genomes