Gravar-mail: Reconstruction of ancestral gene orders using intermediate genomes