Flanagan, Kamworor win New York Marathon