Magnetically controlled flexible valve for flow manipulation in polymer microfluidic devices