An AK Solow model with a non-positive rate of population growth