Development of a Wireless Sensor-Based Soil and Air Quality Monitoring System for Sustainable Agriculture