The Role of Renewable Energy Integration and Smart Grid Technologies in Achieving Resilient, Low-Carbon Infrastructures for the 21st Century