The Pontryagin maximum principle and optimal economic growth problems