A bacterium has evolved into a new cellular structure inside algae