Cognitive Framework of Food Quality Assessment in IoT-Inspired Smart Restaurants