Transport of Wetting and Nonwetting Liquid Plugs in a T-shaped Microchannel