Three essays on the economics of crime and gender