NYPD officer stabbed in the neck in Brooklyn