An Application of a Switching Regimes Regression to the Study of Urban Structure