Crime, punishment, and deterrence