Near-infrared hyperspectral imaging and object-based multivariate data processing for the identification of defects in green coffee