Received Signal Strength Based Target Localization and Tracking Using Wireless Sensor Networks