Sub-micron pattern transfer to binary semiconductors via micromolding in capillaries