Choosing and using diversity indices