Demographic transition in ecological focus