On the relationship between class selectivity, dimensionality, and robustness