Animal Spirits, Lumpy Investment, and Endogenous Business Cycles