Patterns of diversity along a habitat size gradient in a biodiversity hotspot