Challenges of Renewables Integration and the Role of Smart Grid