Essays on asset pricing in markets with law-related imperfections