Man killed, 2 police officers injured in shooting