Rewards and cooperation in social dilemma games