Habitat diversity and the species—area relationship: alternative models and tests