From Prey via Endosymbiont to Plastid: Comparative Studies in Dinoflagellates