The scientific impact of nations