Fluid-based micropatterning for the fabrication of biomimetic functional surfaces