Training Research Mathematicians circa 1900: The Cases of the United States, Germany, France, and Great Britain