Optimal ordering policy in an economic order quantity (EOQ) model for non-instantaneous deteriorating items with defective quality and permissible delay in payments