Pair of NYPD officers shot in Brooklyn