Asset Pricing with Relative Performance and Heterogeneous Agents