How is heredity in bacteria different from heredity in eukaryotes?