Scanning device puts science behind the art of picking mangoes