Network structure of inter-industry flows