Gender relations and the spatial structure of the city