Prayer vigil held in New York for slain police officer