Into the black and back: the ecology of brain investment in Neotropical army ants (Formicidae: Dorylinae)