Security and Privacy in Cyber-Physical Systems and Smart Vehicles