How Market Sentiment Affects US Stock Valuations