Essays on mechanism and information design