Evolutionary trajectories explain the diversified evolution of isogamy and anisogamy in marine green algae