Statistical Anomaly Detection and Mitigation of Cyber Attacks for Intelligent Transportation Systems