Food traceability systems: performance evaluation and optimization