Gunman dead after firing on Dallas police outside headquarters