US weekly crude inventories rise most since 1982