inventory accounting for manufacturing