Economic development and sustainability in a Solow model with natural capital and logistic population change