Genomes of two archaeal endosymbionts show convergent adaptations to an intracellular lifestyle