The Aggregate and Distributional Effects of Spatial Frictions