Environmental diversity as a surrogate for species diversity: an assessment