A quantitative analysis of worldwide long-term technology growth: From 40,000 BCE to the early 22nd century