Spatial models of party competition