Models of forest dynamics based on roles of tree species