NYPD, Port Authority agree on WTC security plan