Location and Product Differentiation in a Duopoly with Externalities