Foreign doctorates are attractive—but don’t write off homegrown PhDs