Why would a diverse population be more resistant to disease, predation, and invasion?