A continuous-review inventory model with constant resupply time and defective items