Quality monitoring of extra-virgin olive oil using an optical sensor