Empirical and Structural Models for Insertions and Deletions in the Divergent Evolution of Proteins