Measuring Substitution Patterns in Differentiated-Products Industries