The consumer sector's demand for assets and the supply of corporate bonds and equities : an integration of portfolio theory and a theory of the firm