Asset Pricing with Heterogeneous and Constrained Investors