Intelligent Cyber-Physical Monitoring, Fault-Tolerant, and Attack-Resilient Control of Renewable Energy Systems in Smart Grid