Lessons from the economics of crime