Gunman opens fire on New York hospital, killing doctor