Analytic-bilinear approach to integrable hierarchies. II. Multicomponent KP and 2D Toda lattice hierarchies