The Stock Market, Credit, and Capital Formation