Sustainable and Smart Energy Systems for Europe's Cities and Rural Areas