Determination of the optimal degree of information sharing in a two-echelon supply chain