Natural disaster alters the adaptive benefits of sociality