US stocks close higher despite record producer inflation