Green Resilience of Cyber-Physical Systems