Which candidate earned the Republican nomination in 1912?