IoT Data Validation Using Spatial and Temporal Correlations