The legitimation of deliberative democracy