S&P 500 climbs higher to post new 2023 record