Security Analysis of Wireless Sensor Networks in Intelligent Transportation Systems