Three Essays on the Economics of Crime and Education