US wholesale inventories rise 0.3% in July