US wholesale prices surged 4% last month, most in more than three years, as the Iran war drove up energy costs