Cities as Sustainable Ecosystems: Principles and Practices