Why Narendra Modi’s San Jose speech sounded like the one at Madison Square Garden