Characterization of bacterial microbiota compositions along the intestinal tract in pigs and their interactions and functions