Traffic Safety Systems based on Vehicular Networks: Using Wireless Communication and Artificial Intelligence to Reduce Road Casualties