Three essays on behavioral market design