Inference Of Insertion And Deletion Scenarios For Ancestral Genome Reconstruction And Phylogenetic Analyses: Algorithms And Biological Applications