Cognitive and Motivational Requirements for the Emergence of Cooperation in a Rat Social Game