A deterministic inventory model for deteriorating items with two warehouses and finite replenishment rate