When people have to make a choice instantly of being more or less generous, their first impulse is toward cooperation. Sophie Bushwick reports