Hardware and Cyber Vulnerabilities in Embedded Systems: An Overview for Power Grids, PV, EVs, and Storage Systems