Estimating Price Elasticities in Differentiated Product Demand Models with Endogenous Characteristics