The use of intelligent packaging in order to reduce food waste