A joint inventory and sourcing strategy to balance efficiency versus risk