Successional diversity and forest ecosystem function