A global assessment of endemism and species richness across island and mainland regions