Population Genetics and Molecular Evolution of DNA Sequences in Transposable Elements. I. A Simulation Framework | Genetics