Hierarchical dichotomy of functional architecture of bacterial metabolic networks