Investment confidence and business cycles