Sex may have evolved as a way to fight disease