Perishability of Data: Dynamic Pricing under Varying-Coefficient Models