Computational studies of the genome dynamics of mammalian transposable elements and their relationships to genes