Manufacturing methods and applications of membranes in microfluidics