Evaluating environmental performances of sustainable technologies: from the building to the city scale