The effect of urban spatial structure on residential mobility