Habitat values and endemicity in the vanishing rain forests of Sri Lanka