The implications of primate behavioral flexibility for sustainable human–primate coexistence in anthropogenic habitats