Economic growth and formal learning in the long run