The impact of endogenous demand on push–pull production systems