Pattern recognition mediates flexible timing of vocalizations in nonhuman primates: experiments with cottontop tamarins