The Development of the Structural Heterogeneity of the Territory of a Large City as Conditions for the Formation of Urban Ecosystems on the Example of Kazan | Synapse