Retired FBI Executive Assistant Director Chris Piehota analysed the two terror attacks on New Year’s Day, explaining the security failures and what law enforcement should do next