Upstream market structure and the timing of technology adoption