Ecology of forest insects