Calibration of chemical and biological changes in cocomposting of biowastes using near-infrared spectroscopy.