Statistics for Measuring Intellectual Diversity in Groups, and Its Effects on Scientific Impact and Productivity