What are the factors affecting the rate of ecological succession?