A liquid molding method for the fabrication of microfluidic devices based on a drop-on-demand generation of patterned substrates