The Imprisoner's Dilemma: A Cost-Benefit Approach to Incarceration