Validation of a commercial optoelectronics device for grape quality analysis