A Framework for Measuring IoT Data Quality Based on Freshness Metrics