Text this: An IoT and Machine Learning-Based Model to Monitor Perishable Food towards Improving Food Safety and Quality