A closed-form solution to the Ramsey model with von Bertalanffy population law and Benthamite function