Habitat patchiness and plant species richness