Non-destructive visible and NIR spectroscopy measurement for the determination of apple internal quality.