When Is Populism Good for Liberal Democracy?