Innovative tools to enhance energy efficiency in European smart cities and smart grids