A two-warehouse inventory model under trade credit in the supply chain management