Social ecological dynamics of tropical secondary forests