Morphology and urban structure in Mexican medium-sized cities