Cyber-Physical Security and Privacy in the Electric Smart Grid