Cybersecurity and Privacy in Cyber-Physical Systems