Control and modeling of the dielectrophoretic assembly of on-chip nanoparticle wires.