Gravar-mail: Study on the Context-Aware Middleware for Ubiquitous Greenhouses Using Wireless Sensor Networks