Gunman dies after gunfight with officer at pawn shop