Punishment with Uncertain Outcomes in the Prisoner’s Dilemma