Symbiotic Dinoflagellate Functional Diversity Mediates Coral Survival under Ecological Crisis.