New York Police Department acknowledges cooperating with anti-Islam documentary, says it was a mistake