Accurate detection of firmness and color changes in the packing of table grapes with paper dividers