Officer killed after gunman took hostages at Pennsylvania hospital