Democracy, state capacity and civil wars: a new perspective