At record highs, stocks appear overvalued, yet there still may be opportunities ahead.