Species Diversity and Invasion Resistance in a Marine Ecosystem.