How supermarket scanner data reveals the secrets of the checkout