October wholesale inventories rise unexpectedly