Environment-driven spatial pattern of tamarind trees in riparian forests