A reputation-based theory of spatially-separated duopoly competition and bargaining