Artificial Intelligence and Wireless Sensor Network in Agriculture: A Review