Agriculture, habitat loss and spatial patterns of human occupation in a biodiversity hotspot