NYT reporter says Israel knew Hamas's attack plan over a year ago