Stock market today: Stocks edge higher to close at a record after upbeat producer inflation data