Two-level supply chain models with imperfect quality items when demand influences price and marketing promotion