Using NIRS to assess the presence of cork anomalies