Spatial and temporal impacts of adjacent areas on the dynamics of species diversity in a primary forest.