How the US became a science superpower