Essays on the economics of juvenile crime and education