Spatial interaction theory and planning models