Partial agglomeration or dispersion in spatial Cournot competition