Urban mobility and urban form: the social and environmental costs of different patterns of urban expansion