Investor protection and equity markets