Measuring electoral competitiveness: A Probability ratio index