Evaluating the quality of democracy in Latin America