High-Frequency Substitution and the Measurement of Price Indexes