Democracy and social cohesion