Construction of microscale structures in enclosed microfluidic networks by using a magnetic beads based method.