Cognitive influences on risk-seeking by rhesus macaques.