Relation between lead time dependent demand and capacity flexibility in a two-stage supply chain with lost sales