Democracy and legitimacy in the European Union revisited