Algal genomes reveal evolutionary mosaicism and the fate of nucleomorphs