Local energy plans-a way to improve the energy balance and the environmental impact of the cities: Case study of Barcelona