Cities and social equity: inequality, territory and urban form