Robust measurement of national technological progress