US stocks close higher after producer inflation figures