Direct-write non-linear photolithography for semiconductor nanowire characterization.