Democracy and the rule of law in the European Union