Smarter supermarkets to reduce food waste