New York truck attack suspect ‘spent a year planning’