Transient phenomena in ecology