The S&P 500 is expensive, but there are still pockets of value