Consumer Choice Models with Endogenous Network Effects