Social reward in science and economic growth