Biased Beliefs, Asset Prices, and Investment: A Structural Approach