inventory shelf life formula