Centrality in Trade Networks and Investment in Security