Smart Grids: Opportunities, Developments, and Trends