Ecological correlates of trophic status and frugivory in neotropical primates