A replenishment policy for items with a price-dependent demand and a varying rate of deterioration